<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
<head>
	<script>
		$(document).ready(function(){
			$("#fix_record_button").button().click(function(){
				commonUtil.jsonPost("../record/fix.do",{},function(data){
					if(data){
						commonUtil.generateDataTable(data.statList,"databody_fix",function(rowData,rowCount,tbody){
							var html = "<tr><th class='ui-widget-header' style='text-align:right;width:20%;'>&nbsp;"+rowData.name+"&nbsp;</th>";
							html+="<td>&nbsp;&nbsp;"+rowData.value+" 条。</td></tr>";
							return html;
						});
					}
				},"#databody_fix");
			});
		});
	</script>
</head>

<body class="blue">
	<div><button id="fix_record_button">尝试修复单据</button></div>
	<div class="split"></div>
	<table width="99%" border="0" cellpadding="0" cellspacing="0" class="tablelist">
		<tbody id="databody_fix"></tbody>
	</table>
</body>
</html>
